package com.hexun.dubbo.demo.service;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * User
 *
 * @author yuanyue
 * @date 2016/4/27
 */
@XmlRootElement(name = "user")
public class User implements Serializable {

    private String username;
    private String password;
    @XmlElement
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    @XmlElement
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
